import {HttpClient} from '@angular/common/http';
import {Injectable} from '@angular/core';
import {Observable} from "rxjs/Observable";
import {Subscriber} from "rxjs/Subscriber";



@Injectable()
export class ClientIndexProvider{
    constructor(public http: HttpClient) {

    }

    /**
     * 获取个险客户总数
     * @returns {any}
     */
    getPersonalInsuranceNum(notLoading = 0):Observable<any>{
       return this.http.get(`/party/v1/client/clientAmount?not-loading=${notLoading}`);
    }
}
